package ru.ifmo.ctd.year2008.notepad;

import java.io.Serializable;
import java.util.*;

/**
 * Unmodifiable text.
 * 
 * @author Arina Afanasyeva
 *
 */
public class Text implements Serializable {
	private static final long serialVersionUID = 9007604713759087185L;
	
	private final List<Line> lines;

    public Text(List<Line> lines) {
        this.lines = lines;
    }

	public List<Line> getLines() {
		return Collections.unmodifiableList(lines);
	}
	
	@Override
	public String toString() {
		return "LLOL";
	}

}
